<?php
use_helper('DateForm');
use_helper('Object');	
use_helper('Javascript');

	echo input_hidden_tag('causa_exhorto_id', $causaExhorto->getId());
	echo input_tag('causa_exhorto_caratula', $causaExhorto->getRol(), array('readonly' => 'readonly'));
		if($accion == 'crearcausa'){
		?>&nbsp;<?php echo button_to_remote('Cambiar C.Base', array(
	          			'update'	=> 'list-search-causa',
	          			'url'		=> 'juicios/searchcausa?accion=crearcausa',
	          			'loading'	=> visual_effect('appear','loading', array('duration' => 0)),
			  			'complete'	=> visual_effect('appear', 'list-search-causa').
	          						   visual_effect('highlight','list-search-causa',array('duration' => 1.0)). 
									   visual_effect('fade','loading', array('duration' => 0)),
					),array('class' => 'cambiar boton_con_imagen'));
		}elseif($accion == 'editcausa'){
			?>&nbsp;<?php echo button_to_remote('Cambiar C.Base', array(
	          			'update'	=> 'list-search-causa',
	          			'url'		=> 'juicios/searchcausa?accion=editcausa',
	          			'loading'	=> visual_effect('appear','loading', array('duration' => 0)),
			  			'complete'	=> visual_effect('appear', 'list-search-causa').
	          						   visual_effect('highlight','list-search-causa',array('duration' => 1.0)). 
									   visual_effect('fade','loading', array('duration' => 0)),
					),array('class' => 'cambiar boton_con_imagen'));
		}

?>	